<?php
$i = 1;
$nroot = substr_replace($root,"",-1); //remove the trailing slash from the root path

print '
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head> 
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
    <title>KontrollKommand Engine - Server Command Automation Interface</title> 
 
    <!-- ** CSS ** --> 
    <!-- base library --> 
    <link rel="stylesheet" type="text/css" href="'.$nroot.'/includes/grouptabs/ext-all.css" /> 
 
    <!-- overrides to base library --> 
    <link rel="stylesheet" type="text/css" href="'.$nroot.'/includes/grouptabs/Portal.css" /> 
    <link rel="stylesheet" type="text/css" href="'.$nroot.'/includes/grouptabs/GroupTab.css" /> 

    <!-- extra css files -->
    <link rel="stylesheet" type="text/css" href="'.$nroot.'/includes/style.css" />
    <link rel="stylesheet" type="text/css" href="'.$nroot.'/includes/extjs/layout/layout-browser.css">
    <link rel="stylesheet" type="text/css" href="'.$nroot.'/includes/extjs/resources/css/xtheme-slate.css" />
    <link rel="stylesheet" type="text/css" href="'.$nroot.'/includes/extjs/resources/css/kb_extras.css" />
 
    <!-- page specific --> 
    <style type="text/css"> 
        /* styles for iconCls */
        .x-icon-tickets {
            background-image: url("'.$nroot.'/includes/grouptabs/images/tickets.png");
        }
        .x-icon-subscriptions {
            background-image: url("'.$nroot.'/includes/grouptabs/images/subscriptions.png");
        }
        .x-icon-users {
            background-image: url("'.$nroot.'/includes/grouptabs/images/group.png");
        }
        .x-icon-templates {
            background-image: url("'.$nroot.'/includes/grouptabs/images/templates.png");
        }
    </style> 
 
    <!-- ** Javascript ** --> 
    <!-- ExtJS library: base/adapter --> 
    <script type="text/javascript" src="'.$nroot.'/includes/grouptabs/ext-base.js"></script> 
 
    <!-- ExtJS library: all widgets --> 
    <script type="text/javascript" src="'.$nroot.'/includes/grouptabs/ext-all.js"></script> 
 
    <!-- overrides to base library --> 
 
    <!-- extensions --> 
    <script type="text/javascript" src="'.$nroot.'/includes/grouptabs/GroupTabPanel.js"></script> 
    <script type="text/javascript" src="'.$nroot.'/includes/grouptabs/GroupTab.js"></script> 
 
    <script type="text/javascript" src="'.$nroot.'/includes/grouptabs/Portal.js"></script> 
    <script type="text/javascript" src="'.$nroot.'/includes/grouptabs/PortalColumn.js"></script> 
    <script type="text/javascript" src="'.$nroot.'/includes/grouptabs/Portlet.js"></script> 
 
    <!-- page specific --> 
    <script type="text/javascript" src="'.$nroot.'/includes/grouptabs/examples.js"></script> 
    <script type="text/javascript" src="'.$nroot.'/includes/grouptabs/sample-grid.js"></script> 
 
    <script type="text/javascript" src="'.$nroot.'/includes/grouptabs/grouptabs.js"></script> 
    <script type="text/javascript" src="'.$nroot.'/includes/extjs/miframe.js"></script>
    <script type="text/javascript" src="'.$nroot.'/includes/extjs/Ext.ux.UUID.js"></script>
</head> 
<body></body> 
</html>';

?>